<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="{$cfg.url.css}html.css" />
<link rel="stylesheet" type="text/css" href="{$cfg.url.css}common.css" />
<script language="JavaScript" src="../js/common.js"></script>
<title>用户列表</title>
</head>

<body>
<div class="content">
<h1>用户列表</h1>
<table width="95%" cellspacing="1" cellpadding="0"
	bordercolor="#FFFFFF" bgcolor="#FFFFFF" style="color: #000000">

	<tr bgcolor="#AAAAAA" style="color: #FFCC00">
		<th width="5%" height="30" scope="col">序号</th>
		<th width="16%" scope="col">用户名</th>
		<th width="16%" scope="col">密码</th>
		<th width="16%" scope="col">昵称</th>
		<th width="5%" scope="col">性别</th>
		<th width="18%" scope="col">创建时间</th>
		<th width="13%" scope="col">权限</th>
		<th width="10%" scope="col">操作</th>
	</tr>
	{foreach from=$userlist item=user}
	<tr bgcolor="#DDDDDD">

		<td>{$user.user_id}</td>
		<td height="24">{$user.user_name}</td>
		<td>{$user.user_password}</td>
		<td>{$user.user_nickname}</td>
		<td>
		{if $user.user_sex eq "0"}
		未知
		{elseif $user.user_sex eq "1"}
		男
		{elseif $user.user_sex eq "2"}
		女
		{/if }
		</td>
		<td>{$user.user_create_time}</td>
		<td>博客，作品</td>
		<td><a href="userlist.php?do=modifypage&userid={$user.user_id}" target="page2">[ 修改 ]</a><a href="userlist.php?do=delete&userid={$user.user_id}">[ 删除 ]</a></td>
	</tr>
	
	{/foreach}
</table>
</div>
</body>
</html>